def convert_time_format(year, month, day, hour, minute, second, region):
    # 定义各地区时间格式模板
    formats = {
        "中国": f"{year}年{month:02d}月{day:02d}日 {hour:02d}:{minute:02d}:{second:02d}",
        "美国": f"{month:02d}/{day:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}",
        "英国": f"{day:02d}/{month:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}",
        "德国": f"{day:02d}.{month:02d}.{year} {hour:02d}:{minute:02d}:{second:02d}",
        "俄罗斯": f"{day:02d}.{month:02d}.{year} {hour:02d}:{minute:02d}:{second:02d}",
        "澳大利亚": f"{day:02d}/{month:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}",
        "法国": f"{day:02d}/{month:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}",
        "加拿大": f"{year}-{month:02d}-{day:02d} {hour:02d}:{minute:02d}:{second:02d}"
    }
    return formats.get(region, "不支持该地区的时间格式转换")

# 用户输入
year = int(input("请输入年："))
month = int(input("请输入月："))
day = int(input("请输入日："))
hour = int(input("请输入时："))
minute = int(input("请输入分："))
second = int(input("请输入秒："))
region = input("请选择地区（中国、美国、英国、德国、俄罗斯、澳大利亚、法国、加拿大）：")

# 输出结果
result = convert_time_format(year, month, day, hour, minute, second, region)
print("转换后的时间格式：", result)
